package fmi.chesstern.controller.implementation;


import fmi.chesstern.controller.GameCommand;
import fmi.chesstern.controller.GameCommandParameters;
import fmi.chesstern.game.GameState;
import fmi.chesstern.game.Move;

public class DefaultMoveHandler implements GameCommand {
	@Override
	public void execute(GameState state, GameCommandParameters parameters) {
		state.makeMove((Move) parameters.getParameter("move"));
	}
}
